
package net.lab0.electron.ai;


import java.util.Random;


public class MyRandom
{
    private static Random r = new Random(System.currentTimeMillis());
    
    public static int getRandInt()
    {
        return r.nextInt();
    }
    
    public static int getPositiveRandInt()
    {
        return r.nextInt(Integer.MAX_VALUE);
    }
    
    public static double getRandDouble()
    {
        return r.nextDouble();
    }
    
    public static double getRandGauss()
    {
        return r.nextGaussian();
    }
}
